package org.example.maven.museumuser.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class IdentityName {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String identity;
    private String name;
    public IdentityName(String identity,String name){
        this.identity=identity;
        this.name=name;
    }
}
